/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 62536
 * Date: 2023-11-05
 * Time: 14:01
 */
public class Dog {
    public String name;
    public int age;
    public String color;

    private double weight;

    static double height;

    Dog(String name, int age, String color){
        this.name = name;
        this.age = age;
        this.color = color;
    }
    Dog(String name){
        this(name, 0, null);
    }
    public void bark(){
        System.out.println(name +" 在汪汪叫");
    }
    public void eat(){
        System.out.println(name +" 在吃东西");
    }
}
